/**
 * 
 */
package cn.miao.learn.ssh.api;

import org.glassfish.jersey.server.ResourceConfig;
import org.springframework.web.filter.RequestContextFilter;

import cn.miao.learn.ssh.api.filter.AuthorizationRequestFilter;
import cn.miao.learn.ssh.api.filter.PoweredByResponseFilter;

public class MyApplication extends ResourceConfig {

	public MyApplication() {
		packages("cn.miao.learn.ssh.api");
		register(RequestContextFilter.class);
		register(PoweredByResponseFilter.class);
		register(AuthorizationRequestFilter.class);
		//register(JacksonFeature.class);
	}
}
